<!DOCTYPE html>
<html lang="en" xmlns:v-bind="http://www.w3.org/1999/xhtml">
<head>
    <meta charset="UTF-8">
    <title></title>
    <link rel="stylesheet" href="../css/btc.css">
    <script src="http://libs.baidu.com/jquery/2.0.0/jquery.min.js"></script>
    <script src="../js/vue.js"></script>
    <script src="../js/btc.js"></script>

</head>
<body>

    <div id="content">
        <div>
            <ul>
                <li class="item" v-for="todo in todos">
                    <div class="itemtitle"><a v-bind:href="'pagecontent.html?id='+todo._id">{{ todo.title }}</a></div>
                    <div>
                        <div class="itemauthor">作者:{{ todo.author}}</div>
                        <div class="itemtime">发布时间:{{ todo.created_at}}</div>
                    </div>
                    <hr style="height:1px;border:none;border-top:1px dashed #0066CC; clear:both"/>
                </li>
            </ul>
        </div>
    </div>





    <script type="text/javascript">
        getdata();
    </script>
</body>
</html>